home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / pj64.arc / SMLTPL < prev    next >
Text File  |  1988-12-16  |  1KB  |  39 lines

  1. ## Smltpl - Windows small memory model template.
  2. # Written by Michael Babcock and Bill Hall, Olivetti ATC.
  3.  
  4. ## some macros
  5. # no debug compile
  6. cp=cl -d -c -AS -Gw -Ox -Zp
  7.  
  8. # debug compile
  9. cpd=cl -d -c -AS -Gw -Zpd
  10.  
  11. # Microsoft C 5.x compiler with OS2 libraries 
  12. LIBOS2=slibw slibc slibc3 libh/NOD/NOE
  13.  
  14. # Microsoft C 5.x compiler with PM libraries
  15. LIBPM=slibw slibcr libh/NOD/NOE
  16.  
  17. # Microsoft C 5.0 compiler for MS-DOS
  18. LIB5=slibw slibc libh/NOD/NOE
  19.  
  20. # Microsoft C 4.0 compiler for MS-DOS
  21. LIB4=slibw slibc libh/NOD
  22.  
  23. ## make the .RES file
  24. smltpl.res : smltpl.rc smltpl.h
  25.     rc -r smltpl.rc
  26.  
  27. ## make the .OBJ files
  28. smltpl.obj : smltpl.c smltpl.h
  29.     $(cp) -NT _TEXT smltpl.c
  30.  
  31. smltplnt.obj : smltplnt.c smltpl.h
  32.     $(cp) -NT _INIT smltplnt.c
  33.     
  34. ## create the .EXE file, add resources, and make a map file
  35. smltpl.exe : smltpl smltpl.def smltpl.res smltpl.obj smltplnt.obj
  36.     link4 smltpl smltplnt,smltpl/align:16,smltpl/m/li,$(LIBOS2),smltpl
  37.     rc smltpl.res
  38.     mapsym smltpl
  39.